<template>
  <div id="app">
    <keep-alive>
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted() {
    // console.log(this.$store.commit(SET_USER_INFO, res.data));
    // if(!this.$store.getters.userInfo) {
    //   // 没有登录
    //   this.$router.replace({name: 'Login', params: {backUrl: window.location.href}})
    // }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F5F6FA;
  color: #2c3e50;
  margin: 0 !important;
}

body {
  margin: 0 !important;
}

input {
  outline-color: invert !important;
  outline-style: none !important;
  outline-width: 0px !important;
  border: none !important;
  border-style: none !important;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  -webkit-user-select: text !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  background-color: rgba(255, 255, 255, 0) !important;
}

:-moz-placeholder {
  font-family: FZKai-Z03S, KaiTi;
  font-weight: 400;
  color: #CCCCCC;
  opacity: 1;
}

::-moz-placeholder {
  font-family: FZKai-Z03S, KaiTi;
  font-weight: 400;
  color: #CCCCCC;
  opacity: 1;
}

input:-ms-input-placeholder {
  font-family: FZKai-Z03S, KaiTi;
  font-weight: 400;
  color: #CCCCCC;
  opacity: 1;
}

input::-webkit-input-placeholder {
  font-family: FZKai-Z03S, KaiTi;
  font-weight: 400;
  color: #CCCCCC;
  opacity: 1;
}
</style>
